package com.ts.opengl

import android.content.Context
import android.opengl.GLSurfaceView
import android.util.AttributeSet

class TextureGlSurfaceView:GLSurfaceView {


    constructor(context: Context,att: AttributeSet):super(context,att){
        setEGLContextClientVersion(2)
        setRenderer(TextureDisRender(context))
        renderMode= RENDERMODE_WHEN_DIRTY
    }

}